import request from "@/utils/request";

export const getBannerList = (param) => {
    return request({
        url: '/admin/get_banner_list',
        method: 'post',
        data: param
    })
}
export const addBanner = (param) => {
    return request({
        url: '/api/admin/add_banner',
        method: 'post',
        data: param
    })
}
export const delBanner = (param) => {
    return request({
        url: '/admin/del_banner',
        method: 'post',
        data: param
    })
}
export const editBannerInfo = (param) => {
    return request({
        url: '/admin/edit_banner',
        method: 'post',
        data: param
    })
}
export const editBanner = (param) => {
    return request({
        url: '/api/admin/editBanner',
        method: 'post',
        data: param
    })
}
